home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-01
/
wtek0693.zip
/
OOPALLEY.ZIP
/
LINKOB.H
< prev
next >
Wrap
C/C++ Source or Header
|
1993-04-27
|
925b
|
30 lines
#ifndef LINKOB_H
#define LINKOB_H
#include "link.h"
extern const Class class_LinkOb;
////////////////////////////////////////////////////////////
// class LinkOb (declaration)
////////////////////////////////////////////////////////////
class LinkOb: public Link {
Object* val;
public:
// constructors, destructors
LinkOb(const Object& newval =*nil);
virtual unsigned capacity() const;
virtual int compare(const Object&) const;
virtual void deepenShallowCopy();
virtual unsigned hash() const;
virtual const Class* isA() const;
virtual bool isEqual(const Object&) const;
virtual void printOn(ostream& strm) const;
virtual unsigned size() const;
virtual Object* value() const;
virtual Object* value(const Object& newval);
};
#endif